package com.wx.activitys.drp.mapper;


import java.util.List;
import java.util.Map;

import com.wx.activitys.drp.model.BShare;

public interface ShareMapper {

	List<BShare> findByOpenid(String openid);
	int addBatch(List<BShare> list);
	
	int insert(BShare bShare);
	
	/**
	 * 联合主键查询
	 * @param map
	 * @return
	 */
	BShare findByMap(Map<String,Object> map);
	
	int update(Map<String,Object> map);
	
}
